package cn.gxj62;

public class Student {
    private int id;
    private String name;
    private int age;
    private String major;
    private boolean sex;
    private boolean isLeader;

    public Student(int id, String name, int age, String major, boolean sex, boolean isLeader) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.major = major;
        this.sex = sex;
        this.isLeader = isLeader;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getMajor() {
        return major;
    }

    public boolean getSex() {
        return sex;
    }

    public boolean isLeader() {
        return isLeader;
    }
}
